\section{Demonstration}
\begin{frame}{Demonstration}

\begin{figure}[h!]
\centering
\resizebox{0.9\linewidth}{!}{

	\begin{tikzpicture}[>=stealth',shorten >=1pt,auto, semithick]
	\tikzstyle{every state}=[fill=white,text=black, minimum height=0.7cm, minimum width=2cm,align=center, node distance=3cm,font=\normalfont,text width=2cm]
	
		\node[state, rectangle] (pc1) {10\% packet loss};
		\node[state, rectangle, right of=pc1,](pc2){35\% packet loss};
		\node[state, rectangle, right of=pc2](pc3){10\% packet loss};
		\node[state, rectangle, right of=pc3](pc4){35\% packet loss};
		
		\node[state, rectangle, above of=pc3, fill=black!30, xshift=-1.5cm, node distance=2.5cm](switch){Switch};
		
		\node[state, rectangle, above right of= switch, node distance=2.5cm](pc5){UEP Source};
		\node[state, rectangle, above left of=switch, node distance=2.5cm](pc6){EEP Source};
		
		\node[node distance = 0.5cm,above of=pc6,text width=2.5cm,font=\scriptsize, minimum width=2cm,align=center](){40\% overhead};
		\node[node distance = 0.5cm,above of=pc5,text width=4cm,font=\scriptsize, minimum width=2cm,align=center](){40\% overhead, $\Gamma_1$=0.3};
		
		\draw[->,shorten >=1pt,draw=red] (switch) -- (pc1.north);
		\draw[->,shorten >=1pt,draw=red] (switch) -- (pc2.north);
		\draw[->,shorten >=1pt,draw=blue] (switch) -- (pc3.north);
		\draw[->,shorten >=1pt,draw=blue] (switch) -- (pc4.north);
		
		\draw[->,shorten >=1pt,draw=blue]  (pc5.south) -- (switch);
		\draw[->,shorten >=1pt,draw=red] (pc6.south) -- (switch);
		
		
		\draw [decorate,thick,decoration={brace, mirror, amplitude=10pt},yshift=-40pt,draw=red] (pc1.south west) -- (pc2.south east) node[midway,below,yshift=-10pt]{EEP Nodes};
		\draw [decorate,thick,decoration={brace, mirror, amplitude=10pt},yshift=-40pt,draw=blue] (pc3.south west) -- (pc4.south east) node[midway,below,yshift=-10pt]{UEP Nodes};
		
	\end{tikzpicture}
}
\end{figure}
What do we expect?
\begin{itemize}
\item 10\% loss EEP: Video without failures
\item 35\% loss EEP: No video
\item 10\% loss UEP: Video with few missing frames
\item 35\% loss UEP: Video with a lot of missing frames
\end{itemize}

\end{frame}

\begin{frame}{Demonstration}

\begin{figure} \centering
\includegraphics[width=0.45\textwidth]{testvideo30}
\caption{5.4, Page 69}
\end{figure}

What do we expect?
\begin{itemize}
\item 10\% loss EEP: Video without failures
\item 35\% loss EEP: No video
\item 10\% loss UEP: Video with few missing frames
\item 35\% loss UEP: Video with a lot of missing frames
\end{itemize}

\end{frame}

\begin{frame}{Demonstration}

\begin{figure}[h!]
\centering
\resizebox{0.9\linewidth}{!}{

	\begin{tikzpicture}[>=stealth',shorten >=1pt,auto, semithick]
	\tikzstyle{every state}=[fill=white,text=black, minimum height=0.7cm, minimum width=2cm,align=center, node distance=3cm,font=\normalfont,text width=2cm]
	
		\node[state, rectangle] (pc1) {10\% packet loss};
		\node[state, rectangle, right of=pc1,](pc2){35\% packet loss};
		\node[state, rectangle, right of=pc2](pc3){10\% packet loss};
		\node[state, rectangle, right of=pc3](pc4){35\% packet loss};
		
		\node[state, rectangle, above of=pc3, fill=black!30, xshift=-1.5cm, node distance=2.5cm](switch){Switch};
		
		\node[state, rectangle, above right of= switch, node distance=2.5cm](pc5){UEP Source};
		\node[state, rectangle, above left of=switch, node distance=2.5cm](pc6){EEP Source};
		
		\node[node distance = 0.5cm,above of=pc6,text width=2.5cm,font=\scriptsize, minimum width=2cm,align=center](){40\% overhead};
		\node[node distance = 0.5cm,above of=pc5,text width=4cm,font=\scriptsize, minimum width=2cm,align=center](){40\% overhead, $\Gamma_1$=0.3};
		
		\draw[->,shorten >=1pt,draw=red] (switch) -- (pc1.north);
		\draw[->,shorten >=1pt,draw=red] (switch) -- (pc2.north);
		\draw[->,shorten >=1pt,draw=blue] (switch) -- (pc3.north);
		\draw[->,shorten >=1pt,draw=blue] (switch) -- (pc4.north);
		
		\draw[->,shorten >=1pt,draw=blue]  (pc5.south) -- (switch);
		\draw[->,shorten >=1pt,draw=red] (pc6.south) -- (switch);
		
		
		\draw [decorate,thick,decoration={brace, mirror, amplitude=10pt},yshift=-40pt,draw=red] (pc1.south west) -- (pc2.south east) node[midway,below,yshift=-10pt]{EEP Nodes};
		\draw [decorate,thick,decoration={brace, mirror, amplitude=10pt},yshift=-40pt,draw=blue] (pc3.south west) -- (pc4.south east) node[midway,below,yshift=-10pt]{UEP Nodes};
		
	\end{tikzpicture}
}
\end{figure}
What do we expect?
\begin{itemize}
\item 10\% loss EEP: Video without failures
\item 35\% loss EEP: No video
\item 10\% loss UEP: Video with few missing frames
\item 35\% loss UEP: Video with a lot of missing frames
\end{itemize}

\end{frame}
